package com.fankui.servicestatistics.client;

import com.fankui.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName UcenterClient
 * Description TODO
 * Date 2023/12/13 5:24
 *
 * @Author 范奎
 * @Since JDK 11
 */
@Component
@FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class)
public interface UcenterClient {
    @GetMapping("/ucenterservice/member/getRegisterCount/{day}")
    R getRegisterCount(@PathVariable("day") String day);
}
